/* css 的初始化 */

/* 指定当前css文件, 编码格式是utf-8 */
@charset "UTF-8";

/* 清除默认的外边距和内边距 */
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, img {
  margin: 0;
  padding: 0;
  /*所有盒子采用内减模式*/
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /*去除移动端点击高亮效果*/
  -webkit-tap-highlight-color: transparent;
}

 img, input, button, textarea {
  border: none;
  padding: 0;
  margin: 0;
  outline-style: none;
}

ul, ol {
  list-style: none;
}

input {
  font-family: "SimSun", "宋体";
}

select, input, textarea {
  font-size: 12px;
  margin: 0;
}

textarea {
  resize: none;
}

img {
  border: 0;
  /* 可以防止 img 下边出现缝隙问题 */
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

body {
  /* 将整个页面的字体, 默认重置 */
  font: 14px Microsoft YaHei, Arial, Verdana, "SimSun";
  color: #666;
  background: #fff;
}

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* 兼容 IE 67 */
.clearfix {
  *zoom: 1;
}

a {
  color: #666;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  text-decoration: none;
  font-weight: normal;
  font-size: 16px;
}

/* 废物利用 1*/
s, i, em {
  font-style: normal;
  text-decoration: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}


.pr {
  position: relative;
}
.pa {
  position: absolute;
}

/*溢出显示省略号*/
.ellipsis {
    /*1.使用overflow: hidden把超出的内容进行隐藏；*/
      overflow: hidden;

    /*2.然后使用white-space: nowrap设置内容不换行；*/
      white-space: nowrap;

    /*3.最后使用text-overflow: ellipsis设置超出内容为省略号*/
      text-overflow: ellipsis;
}

/*多行显示省略号*/
.line-ellipsis {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      overflow: hidden;
}